package com.ibuu.config;


import org.springframework.stereotype.Component;


public class BaseContext {

    private static final  ThreadLocal<String> threadLocal=new ThreadLocal<>();

public static void selectid(String id){

    threadLocal.set(id);
}

public static String getid(){
    return threadLocal.get();
}

}
